package com.xxxx.server.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xxxx.server.pojo.Department;
import com.xxxx.server.pojo.Salary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: yeb
 * @description: 员工账套信息
 * @author: bruce jin
 * @create: 2020-12-22 16:09
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SalaryCfg对象", description="员工账套信息")
public class SalaryCfg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "员工工号")
    private Integer workID;

    @ApiModelProperty(value = "员工邮箱")
    private String email;

    @ApiModelProperty(value = "员工电话")
    private String phone;

    @ApiModelProperty(value = "所属部门")
    private Department department;

    @ApiModelProperty(value = "薪资账套")
    private Salary salary;

}
